import {
  createRouter,
  createWebHashHistory,
  createWebHistory,
} from 'vue-router'

import { constRouter } from './routes'

let router = createRouter({
  //路由模式
  history: createWebHashHistory(),
  routes: constRouter,
})

export default router
